package org.jsola.contract.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.contract.example.ContractCredentialExample.E_API_HOST;
import static org.jsola.contract.example.ContractCredentialExample.E_API_URL;
import static org.jsola.contract.example.ContractCredentialExample.E_NAME;
import static org.jsola.contract.example.ContractCredentialExample.E_PROJECT_ID;
import static org.jsola.contract.example.ContractCredentialExample.E_SECRET;
import static org.jsola.contract.example.ContractCredentialExample.E_THIRD_CHANNEL;
import static org.jsola.contract.example.ContractCredentialExample.N_API_HOST;
import static org.jsola.contract.example.ContractCredentialExample.N_API_URL;
import static org.jsola.contract.example.ContractCredentialExample.N_NAME;
import static org.jsola.contract.example.ContractCredentialExample.N_PROJECT_ID;
import static org.jsola.contract.example.ContractCredentialExample.N_SECRET;
import static org.jsola.contract.example.ContractCredentialExample.N_THIRD_CHANNEL;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;

/**
 * 电子合同账号凭证
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【电子合同账号凭证】详情展示对象")
@Data
public class ContractCredentialVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_THIRD_CHANNEL, example = E_THIRD_CHANNEL)
    private String thirdChannel;

    @ApiModelProperty(notes = N_PROJECT_ID, example = E_PROJECT_ID)
    private String projectId;

    @ApiModelProperty(notes = N_SECRET, example = E_SECRET)
    private String secret;

    @ApiModelProperty(notes = N_API_HOST, example = E_API_HOST)
    private String apiHost;

    @ApiModelProperty(notes = N_API_URL, example = E_API_URL)
    private String apiUrl;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "花费")
    private String cost;

}

